<template>
	<view class="item" v-for="item in props.data" :key="item.id">
		<view class="item_top">
			<view class="item_title">
				<view class="item_img">
					<view class="item_circle">
						
					</view>
				</view>
				<text>{{item.title}}</text>
				<view class="red_circle"></view>
			</view>
			<view class="item_content">{{item.content}}</view>
		</view>
		<view class="item_bottom">
			<text>查看详情</text>
			<image src="../static/icons/右箭头.png" mode=""></image>
		</view>
	</view>
</template>

<script setup>
	const props=defineProps(["data"])
</script>

<style lang="scss">
.item{
	width: 100%;
	display:flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 0 30rpx;
	border: 2rpx solid #f2f2f2;
	margin: 30rpx 0;
	border-radius: 10rpx;
	.item_top{
		height: 230rpx;
		display:flex;
		flex-direction: column;
		.item_title{
			height: 100rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			.item_img{
				width: 100rpx;
				display: flex;
				align-items: center;
				.item_circle{
					width: 70rpx;
					height: 70rpx;
					border-radius: 50%;
					background-color: #e6f1ff;
				}
			}
			text{
				width: 500rpx;
			}
			.red_circle{
				width: 30rpx;
				height: 30rpx;
				border-radius: 50%;
				background-color: #f46565;
			}
		}
		.item_content{
			height: 130rpx;
			display: flex;
			align-items: center;
			font-size: 28rpx;
		}
	}
	.item_bottom{
		height: 88rpx;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		border-top: 2rpx solid #f2f2f2;
		font-size: 28rpx;
		text{
			color:#006eff ;
		}
		image{
			width: 30rpx;
			height: 30rpx;
		}
	}
}
</style>